package com.xbh.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xbh.management.entity.ManRoleVO;
import com.xbh.management.entity.ManUserVO;
import com.xbh.management.model.ManMenu;
import com.xbh.management.model.ManRole;
import com.xbh.management.model.ManUser;

import java.awt.*;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-25 14:24
 */

public interface RoleService extends IService<ManRole> {


    IPage<ManRole> queryAllRole(Page<ManRole> page,ManRole role);

    int saveRole(ManRole role);

    ManRole queryRoleWithRoleId(Long roleId);

    int updateRoleWithRoleId(ManRole role);

    ManRoleVO queryRoleRelationAllUser(ManRole role);

    ManRoleVO queryMenuBuRole(ManRole role);

}
